﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;

namespace Nebular.ExpenseManagement.Model
{
  [Serializable]
  public class Transaction : MarshalByRefObject, ITransaction
  {
    int _id;
    string _cardNumber;
    string _transactionRecord;

    public Transaction() { }

    public Transaction(int id, string cardNumber, string transactionRecord)
    {
      _id = id;
      _cardNumber = cardNumber;
      _transactionRecord = transactionRecord;
    }

    public int Id
    {
      get
      {
        return _id;
      }
    }

    public string CardNumber
    {
      get
      {
        return _cardNumber;
      }
    }

    public string TransactionRecord
    {
      get
      {
        return _transactionRecord;
      }
    }

    public void Process(IUser processor)
    {
      throw new NotImplementedException();
    }

  }

}
